#include<iostream>
#include<cstdio>
#include<cstdlib>
#include<random>
using namespace std;
mt19937 RAND(random_device{}());
const int inf=(int)(1e9);
int T=1,n=(int)(1e7);
int main()
{
	freopen("guess.in","w",stdout);
	cout<<T<<endl;
	while (T--) cout<<n<<' '<<RAND()%inf<<' '<<RAND()%inf<<' '<<RAND()%inf<<' '<<RAND()%inf<<' '<<RAND()%n+1<<endl;
	return 0;
}
